package com.mh.user;

import com.mh.springboot.MhSpringApplication;
import com.mh.springboot.MhSpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * user应用启动类
 * springboot 并不是重新开发，只是对现有的技术进行整合
 */

@MhSpringBootApplication
/* 相当于下面这两个注解
@Configuration
@ComponentScan*/
public class UserApplication {

    public static void main(String[] args) {
        MhSpringApplication.run(UserApplication.class);
    }
}
